package com.example.springsecuritydemo.test;

import java.util.Scanner;

public class Main2 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        double num=input.nextDouble();
        double cubeRoot = getCubeRoot(num);
        System.out.println(cubeRoot);
    }
    public static double getCubeRoot(double input){
        int i=0;
        double num=input*1000000;
        while (!((i * i * i) >= num)) {
            i++;
        }
        double j=i/10d;
        double round = Math.round(j);


        return round/10d;
    }
}
